package com.kingdee.eas.minghua.contract;

import com.kingdee.bos.BOSException;
import com.kingdee.bos.BOSObjectFactory;
import com.kingdee.bos.util.BOSObjectType;
import com.kingdee.bos.Context;

public class GenerProudFactory
{
    private GenerProudFactory()
    {
    }
    public static com.kingdee.eas.minghua.contract.IGenerProud getRemoteInstance() throws BOSException
    {
        return (com.kingdee.eas.minghua.contract.IGenerProud)BOSObjectFactory.createRemoteBOSObject(new BOSObjectType("40791214") ,com.kingdee.eas.minghua.contract.IGenerProud.class);
    }
    
    public static com.kingdee.eas.minghua.contract.IGenerProud getRemoteInstanceWithObjectContext(Context objectCtx) throws BOSException
    {
        return (com.kingdee.eas.minghua.contract.IGenerProud)BOSObjectFactory.createRemoteBOSObjectWithObjectContext(new BOSObjectType("40791214") ,com.kingdee.eas.minghua.contract.IGenerProud.class, objectCtx);
    }
    public static com.kingdee.eas.minghua.contract.IGenerProud getLocalInstance(Context ctx) throws BOSException
    {
        return (com.kingdee.eas.minghua.contract.IGenerProud)BOSObjectFactory.createBOSObject(ctx, new BOSObjectType("40791214"));
    }
    public static com.kingdee.eas.minghua.contract.IGenerProud getLocalInstance(String sessionID) throws BOSException
    {
        return (com.kingdee.eas.minghua.contract.IGenerProud)BOSObjectFactory.createBOSObject(sessionID, new BOSObjectType("40791214"));
    }
}